package com.neu.yth.nepBackend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 空气质量公众监督反馈表
 * </p>
 *
 * @author YTH
 * @since 2024-05-31
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("aqi_feedback")
@ApiModel(value = "AqiFeedback对象", description = "空气质量公众监督反馈表")
public class AqiFeedback implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "af_id", type = IdType.AUTO)
    private Integer afId;

    @ApiModelProperty("公众监督员用户id")
    @TableField("mem_id")
    private Integer memId;

    @ApiModelProperty("反馈信息所在省市区域")
    @TableField("province")
    private String province;


    @ApiModelProperty("反馈信息所在区域详细地址")
    @TableField("address")
    private String address;

    @ApiModelProperty("反馈信息描述")
    @TableField("information")
    private String information;

    @ApiModelProperty("反馈者对空气质量指数级别的估计")
    @TableField("estimated_grade")
    private Integer estimatedGrade;

    @ApiModelProperty("反馈时间： 年月日+时分秒")
    @TableField("af_date")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date afDate;

    @ApiModelProperty("指派网格员编号")
    @TableField("gm_id")
    private Integer gmId;

    @ApiModelProperty("指派时间")
    @TableField("assign_date")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date assignDate;

    @ApiModelProperty("信息状态：")
    @TableField("state")
    private Integer state;

    @ApiModelProperty("备注")
    @TableField("remarks")
    private String remarks;

}
